package cn.com.mma.ott.tracking.demo;

import android.os.Bundle;
import android.view.View;

import cn.com.mma.ott.tracking.api.Countly;


/**
 * MMAChinaSDK Example
 */
public class NormalActivity extends BaseActivity {


    private String TrackUrl = "http://i.gridsumdissector.com/v/?gscmd=impress&gid=gad_161_f6xspxyz&ck=30&adk=721&t=1&os=__OS__&if=__IDFA__&oid=__OPENUDID__&aid=__ANDROIDID__&im=__IMEI__&oa=__OAID__&m=__MAC__&ip=__IP__&ts=__TS__&did=__DUID__&aaid=__AAID__&ua=__UA__&gsfts=__FTS__&gstsft=0&tvid=__TVID__&autorefresh=__AUTOREFRESH__";
    @Override
    protected int getContentView() {
        return R.layout.activity_normal;
    }

    @Override
    protected String setActionBar() {
        return "普通曝光及点击示例";
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Countly.sharedInstance().onExpose(TrackUrl, null, 0);

//        Countly.sharedInstance().onDelayExpose(EXPOSE_URL,123456789);
    }


    public void toLandingPage(View view) {
        toLandingPage(this, CLICK_URL);
    }


    @Override
    protected void onDestroy() {
        super.onDestroy();
    }
}
